package com.geekaca.day1_2_homework;

public class Work5 {
    public static void main(String[] args) {
        System.out.println("题目5\n");
        // 片段1
        int a = 10;
        {
            a = 20;
            System.out.println(a);
        }

        // 片段2
        int b = 20;
        {

            System.out.println(b);
        }
        b = 30;
        System.out.println(b);
    }
}
